package zhtt01.mysql02.config;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/**
 * Created by mengxiaxia on 2016/10/31.
 */
@EnableAutoConfiguration
@ComponentScan(basePackages = {"zhtt01.mysql02.controller","zhtt01.mysql02.repository","zhtt01.mysql02.entity"})
@EntityScan("zhtt01.mysql02.entity")
@EnableJpaRepositories("zhtt01.mysql02.repository")
public class App01Mysql02Application {

    public static void main(String[] args) {
        SpringApplication.run(App01Mysql02Application.class);
    }
}
